package com.sai.jsai.module.system.convert;

import com.sai.jsai.module.system.api.dto.SysUserRespDTO;
import com.sai.jsai.module.system.api.dto.SysUserRolePermissionDTO;
import com.sai.jsai.module.system.dal.entity.SysUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author jisai
 * @version 0.0.1
 * @Description TODO
 * @createTime 2024/10/01
 */
@Mapper
public interface SysUserConvert {

    SysUserConvert INSTANCE = Mappers.getMapper(SysUserConvert.class);

    SysUserRespDTO convertToSysUserRespDTO(SysUser e);

    SysUserRolePermissionDTO convertToSysUserRolePermissionDTO(SysUser e);

}
